/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.23, autoprefixer: v9.7.3) */

*{
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;
}
body{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-height: 100vh;
  background: #eee;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
a{
  text-decoration: none;
}
.success-wrap{
  position: absolute;
  height: 100vh;
  width: 100vw;
  background: rgba(0,0,0,.5);
  display: none;
  text-align: center;
  z-index: 5;
}
.success-block{
  position: absolute;
  width: 300px;
  height: 268px;
  padding: 10px;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  background: #fff;
  border-radius: 5px;
  box-shadow:  5px 5px 20px rgba(0,0,0,.3);
}
.success-block p{
  font-size: 24px;
  color: orange;
  text-shadow: 1px 1px 1px rgba(0,0,0,.3);
}
.success-block img{
  width: 80%;
  margin: 10px 0;
}
.close{
  position: absolute;
  right: 10px;
  top:5px;
  font-size: 16px;
  color: #999;
  cursor: pointer;
}
.el-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #fff;
    border: 1px solid #dcdfe6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    margin: 0;
    transition: .1s;
    font-weight: 500;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}
.el-button.is-round {
    padding: 12px 20px;
    border-radius: 20px;
}
.el-button--primary {
    color: #fff;
    background-color: #409eff;
    border-color: #409eff;
}
.el-button--success {
    color: #fff;
    background-color: #67c23a;
    border-color: #67c23a;
}
h4{
  padding: 20px 0 10px;
  font-weight: 400;
  color: #1f2f3d;
}
.info{
  font-size: 10px;
  margin-bottom: 20px;
  color: #999;
  padding: 0 10px;
}
.bottom{
  padding: 20px;
}
.memory-game{
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: 640px;
  /* height: 640px; */
  -webkit-perspective: 10000px;
          perspective: 10000px;
  max-width: 100%;
}
.memory-card{
  width: calc(25% - 10px);
  margin: 5px;
  height: 0;
  padding-bottom: 30%;
  position: relative;
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,.3);
          box-shadow: 1px 1px 1px rgba(0,0,0,.3);
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  -o-transition: transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
  border-radius: 5px;
}
.memory-card:active{
  -webkit-transform: scale(0.97);
      -ms-transform: scale(0.97);
          transform: scale(0.97);
  -webkit-transition: -webkit-transform .2s;
  transition: -webkit-transform .2s;
  -o-transition: transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}
.memory-card.flip {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}
.font-face,.back-face{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  overflow: hidden;
  background: #60AFFF;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.font-face{
  padding: 0;
}
.memory-card.flip .back-face{
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}